package cn.huaqingcheng.tianshu.core.uc.model;

import cn.huaqingcheng.tianshu.common.core.model.AttributeMap;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * 账号KV存储
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class AccountKeyValue {

    /**
     * ID
     */
    private Long id;

    /**
     * 账号ID
     */
    private Long accountId;

    /**
     * 键
     */
    private AccountSettingKey key;

    /**
     * 值
     */
    private AttributeMap<Object> value;

    private Integer version;

    private LocalDateTime createdAt;

    private LocalDateTime updatedAt;

}
